package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 员工信息对象 employee
 *
 * @author 管鸿影
 * @date 2024-12-06
 */
public class Employee extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 员工编号 */
    private Long employeeId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String department;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactNumber;

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getDepartment() {
        return department;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getPosition() {
        return position;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("employeeId", getEmployeeId())
                .append("name", getName())
                .append("department", getDepartment())
                .append("position", getPosition())
                .append("contactNumber", getContactNumber())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
